<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
        <script>
        	function changesubmit(value)
        	{
            	if(value==0)
            	{
            		document.getElementById("submit").value='强制角色下线';
            	}
            	else
            	{
            		document.getElementById("submit").value='检查角色是否下线';
            	}
        	}
        </script>
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <form action="" method="POST" id="rowForm">
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablegrid tableedit">
                <tr><td><?= translate('SELECT_AREA') ?>:</td><td><?= $arealist ?></td></tr>
                <tr><td></td><td><font color='blue'><?= translate('MENU_SEAL_PULL_ONLINE')?></font></td></tr>
                <tr><td><?= translate('ROLE_NAME')?>:</td><td><input type='text' name="row[role_name]" id='role_name' size='25' value="<?= $role_name ?>">&nbsp;&nbsp;<input type='submit' value="<?= translate('MENU_SEAL_PULL_ONLINE_ROLENAME')?>" id="submit1"></td></tr>
                <tr><td></td><td><font color='blue'><?= translate('MENU_SEAL_RETURNEQUIPMENT')?></font></td></tr>
                <tr><td><?= translate('MENU_SEAL_SENDER_NAME') ?>:</td>
                	<td>
                		<input type="text" name="row[sender_name]" id="sender_name" size="25" value="<?= $role_name ?>" />
                	</td>
                </tr>
                <tr><td><?= translate('MENU_SEAL_RECEIVER_NAME') ?>:</td>
                	<td>
                		<input type="text" name="row[receiver_name]" id="receiver_name" size="25" />
                	</td>
                </tr>
                <tr><td><?= translate('MENU_SEAL_MAIL_TITLE') ?>:</td>
                	<td>
                		<input type="text" name="row[mail_title]" id="mail_title" size="25" />
                	</td>
                </tr>
                <tr><td><?= translate('MENU_SEAL_MAIL_CONTENT') ?>:</td>
                	<td>
                		<textarea name="row[mail_content]" id="mail_content" rows="6" cols="25" ></textarea>
                	</td>
                </tr>
                <tr><td><?= translate('MENU_SEAL_EQUIPGMID') ?>:</td>
                	<td>
                		<input type="text" name="row[gmid]" id="gmid" size="25" />
                	</td>
                </tr>
                <tr>
                	<td></td>
                	<td><input type="submit" value="<?= translate('SUBMIT') ?>" id="submit"/> <input type="reset" value="<?= translate('RESET') ?>" id="reset"/></td>
                </tr>
                
            </table>
        </form>
        <script type="text/javascript">
            SG.init("core.form", function() {
                $.formValidator.initConfig({formid: "#rowForm", submitonce: true});
                $("#area_host").formValidator({empty: false, onshow: '<?= translate('PLASE_SELECT') ?>'}).inputValidator({min: 1, onerrormin: '<?= translate('C_NOT_EMPTY') ?>'});
                            
                });
        </script>
    </body>
</html>
